CC = gcc
CFLAGS = `pkg-config --cflags gtk+-2.0`
LDFLAGS = `pkg-config  --libs gtk+-2.0` -lm


SRC = $(wildcard *.c)
OBJS = $(SRC:.c=.o)
AOUT = clyd
 
all : $(AOUT) 
 
clyd : $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)
%.o : %.c
	$(CC) -o $@ -c $< $(CFLAGS)
clean :
	@rm *.o
cleaner : clean
	@rm $(AOUT)
